public class GameStateMemento{
    public int score;
    public int level;
    public animation animation;

    public GameStateMemento(GameState gameState){
        score = gameState.score;
        level = gameState.level;
        animation = gameState.animation;
    }

    public GameStateMemento(int score, int level, animation animation){
        this.score = score;
        this.level = level;
        this.animation = animation;
    }
}